import {
    request
} from "./request";
import qs from "qs";


//  根据公司id获取公司所有推广码
export function getCompanyList(obj) {
    return request({
        url: "ScCompany/getCompanyCodeList",
        method: "post",
        data: qs.stringify(obj),
    });
}
//  根据推广码id绑定推广员
export function updateCodeById(obj) {
    return request({
        url: "ScCompany/updateCodeById",
        method: "post",
        data: qs.stringify(obj),
    });
}